import VueRouter from 'vue-router'

import login from './vuePage/login.vue'
import reg from './vuePage/reg.vue'

import tel from './vuePage/regPage/tel.vue'
import email from './vuePage/regPage/email.vue'
let router = new VueRouter({
    routes:[
        {path:"/reg" ,component:reg,
            children:[
                {path:"email",component:email},
                {path:"tel",component:tel},
            ]
        },
        {path:"/login" ,component:login},
    ]
});
export  default  router;